<?php
$data = $_POST['data'];

if($submit){
	$config = array('DB_HOST'=>$data['db_host'],
		'DB_USER'=>$data['db_user'],
		'DB_PW'=>$data['db_pw'],
		'DB_NAME'=>$data['db_name'],
		'DB_PRE'=>$data['db_pre'],
		'DB_PCONNECT'=>$data['db_pconnect'],
		'DB_CHARSET'=>$data['db_charset'],
		'SITE_URL'=>$data['site_url'],
		'NEWUSER_APPLE'=>$data['newuser_apple'],
		'LOGIN_APPLE'=>$data['login_apple'],
		'DUIHUA_APPLE'=>$data['duihua_apple'],
		'CHANGJING_GAPPLE'=>$data['changjing_gapple'],
		'JUESE_GAPPLE'=>$data['juese_gapple'],
		);
	set_config($config);
}

include admintpl($mod.'.'.$act);
?>